﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MatrixCalculator
{
    class Exceptions
    {
    }

    /// <summary>
    /// Matice musí být čtvercové
    /// </summary>
    class SquareException : ApplicationException
    {
        public SquareException(String message)
            : base(message)
        {

        }

    }
    /// <summary>
    /// Matice musí být stejného řádu ! 
    /// </summary>
    class DimensionException : ApplicationException
    {
        public DimensionException(String message)
            : base(message)
        {

        }

    }
}
